1. In C, the
difference between these examples is that the first creates a new type named
simply “student”, while the second two create a new type whose name is
“struct student”. The third example combines the type and variable
declarations into one declaration. |
|
2. In C++, all
three examples create a new type that can be called EITHER student or struct
student. |